package com.snail.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.snail.entity.ProductInfo;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author 【swg】.
 * @Date 2017/12/8 10:56
 * @DESC 向前端返回商品列表--类目
 * @CONTACT 317758022@qq.com
 */
@Data
public class CategoryVO implements Serializable {
    private static final long serialVersionUID = 8925861772213568351L;
    @JsonProperty("type")
    private Integer categoryType;
    @JsonProperty("name")
    private String categoryName;
    @JsonProperty("foods")
    private List<ProductVO> productVOList;
}
